Skip to content

Update torchmetrics callsite to fix error due to BC-breaking changes #2155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

Balandat
Copy link
Contributor

@Balandat Balandat commented Dec 14, 2022

torchmetrics changed the signature of the accuracy function in a BC-breaking fashion. This updates the callsite to work with torchmetrics 0.11 and uses multiclass_accuracy instead.

cc @dme65

torchmetrics changed the signature of the `accuracy` function in a BC-breaking fashion. This updates the callsite to work with torchmetrics 0.11 and uses `multiclass_accuracy` instead.
@netlify
Copy link

netlify bot commented Dec 14, 2022

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit 7bef25b
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/6399263aa82d760008d90023
😎 Deploy Preview https://deploy-preview-2155--pytorch-tutorials-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Balandat added a commit to Balandat/Ax that referenced this pull request Dec 14, 2022
Balandat added a commit to Balandat/Ax that referenced this pull request Dec 14, 2022
@svekars svekars added the ax AX tutorials label Dec 14, 2022
@Balandat Balandat merged commit 3a458e7 into pytorch:master Dec 14, 2022
@Balandat Balandat deleted the fix_ax_moo_tutorial branch December 14, 2022 07:26
facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Dec 14, 2022
…1317)

Summary:
Mirroring the changes in pytorch/tutorials#2155

Pull Request resolved: #1317

Reviewed By: saitcakmak

Differential Revision: D42037808

Pulled By: Balandat

fbshipit-source-id: 9183ca8d570b8842a355f8d188324c1953d1f33c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ax AX tutorials cla signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants